<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript"
	src="${res}/js/proposal/irisPrpPrepare.js"></script>
<script type="text/javascript"
	src="${res_app}/js/app/proposal/irisPrpPrepare.js"></script>
<title>评审意见反馈</title>
<style type="text/css">
.button_orange {
	height: 25px;
	font-size: 12px;
	color: #cc3300;
	border: 1px #cc9933 solid;
	background: url(${res}/images/button_orange.gif);
	padding: 0 15px;
	*padding: 0 10px;
	_padding: 0 10px;
	cursor: pointer;
}
</style>
</head>
<body>
	<input type="hidden" id="childDiv" class="thickbox" />
	<form method="post" id="mainForm">
		<input type="hidden" id="prpCodes" name="prpCodes" value="" /> <input
			type="hidden" id="type" name="type" value="" />
	</form>
	<div class="soBox">
		<div class="detail ico_search">
			<table>
				<tr>
					<td rowspan="2"><strong>检索条件：</strong></td>
					<td><cpt:search key="prpApprove_search4org_chushi" repeatColumn="3"
							displayCount="5" leftStyle="width:100px"></cpt:search></td>
				</tr>
				<tr>
					<td>
						<div class="clear_h10"></div> <input type='button' id='searchBt' class="button_an" value='查询' /> 
					</td>
				</tr>

			</table>
		</div>
	</div>
	<div class="clear_h10"></div>
	<div>
		<div id='TopBarMnt'></div>
		<table id='dataGrid'></table>
		<div id='dataBar'></div>
	</div>
	<script type="text/javascript">
		var irisGrid = new IrisGrid("dataGrid", "dataBar", 'TopBarMnt');
		var prcWin = new progressWin("${res}");//初始化遮罩层



		/** 表格初始化**/
		//loadIrisGrid("${res}");
		function buildGrid() {

			var columnAttrList = new Array();
			columnAttr = new ColumnAttr("项目类别", "grant_name", "grant_name", 4,
					"left", true);
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("项目名称", "zh_title", "zh_title", 6,
					"left", true);//表头，字段名，，，宽度比例，居左，是否需要表头排序
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("申报单位", "org_name", "org_name", 6,
					"left", true);//表头，字段名，，，宽度比例，居左，是否需要表头排序
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("负责人", "psn_name", "psn_name", 3,
					"left", true);
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("提交时间", "submitDate", "submit_date", 3,
					"left", true);
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("水印号", "prp_version", "prp_version", 4,
					"left", true);
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("受理编号", "prp_no", "prp_no", 4, "left",
					true);
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("工作进度", "statusName", "status", 3,
					"center", true);
			columnAttrList.push(columnAttr);

			columnAttr = new ColumnAttr("审核意见", "comment", "comment", 3,
					"center", false);
			columnAttrList.push(columnAttr);
			
			columnAttr = new ColumnAttr("反馈意见查看", "atcCode1", "atcCode1", 3,
					"center", false);
			columnAttrList.push(columnAttr);
			
			columnAttr = new ColumnAttr("PDF", "pdf", "pdf", 2, "center", false);
			columnAttrList.push(columnAttr);
			
            irisGrid.setColumnAttrs(columnAttrList);
            irisGrid.setUrl("${ctx}/prpapprove/publish_review_result");//查询url
			irisGrid.setCaption("暂写");
			irisGrid.setDefaultSortName("zh_title");//默认排序字段
			irisGrid.setDefaultSortorder("desc");
			irisGrid.setWidth(978);//整个表格宽度
			irisGrid.setCheckAble(false);//表格左边是否要复选框
			irisGrid.setShowRowIndex(true);//是否显示行号

			irisGrid.setQueryBox('searchBt', 'prpApprove_search4org_chushi');//查询条件 按钮名，查询条件function_key
             irisGrid.build();
		}

	

		jQuery(function() {
		     buildGrid();
		});
		/** 表格初始化**/

		//审核页面调用该方法刷新页面
		function search() {
			$("#searchBt").click();
		}

		/**查看单位信息*/
		function orgInfoView(orgCode) {
			tb_show("查看单位信息",
					"${ctx}/orgmanage/verifyorg/org-info-view?orgCode="
							+ orgCode + "&TB_iframe=true&height=460&width=950",
					false);
		}
		function viewComment(des3Prpcode) {
			var url = "${ctx}/proposal/view/audit-comment-view?posCode="
					+ des3Prpcode + "&TB_iframe=true&height=390&width=720";
			var title = "审核意见";
			showThickBox(url, title);
		}
		
		function viewComment2(prpCode) {
		
		tb_show("查看评议详情","${ctx}/proposal/view/viewReviewComment?prpCode="+prpCode+"&TB_iframe=true&height=600&width=1000", false);
		}
		
		
	
	</script>
</body>
</html>